//
//  HSClassTabelCollectionViewCell.swift
//  HomeSchoolDemo
//
//  Created by rimi on 16/9/30.
//  Copyright © 2016年 黄华强. All rights reserved.
//

import UIKit

class HSClassTabelCollectionViewCell: UICollectionViewCell {
    
    var titleL: UILabel?
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        setupUI()
    }
    
    func setupUI() {
        titleL = UILabel(frame: contentView.bounds)
        
        titleL?.text = "数学"
        titleL?.textAlignment = .center
        titleL?.font = UIFont.systemFont(ofSize: 13)
        contentView.addSubview(titleL!)
    }

}
